﻿using System;
using System.ComponentModel;
using DevExpress.Xpo;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    public class TopTaohuaOrders : BaseObject
    {
        //begin
        public TopTaohuaOrders(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        [Association("TaohuaOrdersTaohuaOrders", typeof(TopTaohuaOrder))]
        public XPCollection TaohuaOrders
        {
            get
            {
                return GetCollection("TaohuaOrders");
            }
        }
        private long _TotalOrder;
        public long TotalOrder
        {
            get
            {
                return _TotalOrder;
            }
            set
            {
                SetPropertyValue("TotalOrder", ref _TotalOrder, value);
            }
        }
        //end
    }
}
